package com.hhit.bigscreenbackmanage.controller.jjgl;

import com.hhit.bigscreenbackmanage.entity.jjgl.TJjglGcgsJsjshzb;
import com.hhit.bigscreenbackmanage.service.jjgl.TJjglGcgsJsjshzbService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 工程概算，结算，决算汇总表(TJjglGcgsJsjshzb)表控制层
 *
 * @author makejava
 * @since 2021-07-21 14:47:04
 */
@RestController
@RequestMapping("tJjglGcgsJsjshzb")
public class TJjglGcgsJsjshzbController {
    /**
     * 服务对象
     */
    @Resource
    private TJjglGcgsJsjshzbService tJjglGcgsJsjshzbService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public TJjglGcgsJsjshzb selectOne(String id) {
        return this.tJjglGcgsJsjshzbService.queryById(id);
    }

}